import request from '@/utils/request';

export function getCourseTabApi(params) {
    return request({
        url: `/tes/direction/course-num`,
        method: 'get',
        params
    })
}

export function getCoursePresetedListApi(params) {
    return request({
        url: `/tes/course/creation`,
        method: 'get',
        params
    })
}

export function getCourseTeachPresetedListApi(params) {
    return request({
        url: `/tes/course/teacher/shared-list`,
        method: 'get',
        params
    })
}

export function setPresetApi(data) {
    return request({
        url: `/tes/course/owner-convert-preset`,
        method: 'post',
        data
    })
}
